enyo.kind({
	name: "enyo.Home",
	kind: enyo.PanelBase,
	
	components: [
		{kind: "PanelContent", headerContent: "Assessment Mobile", onSignOut: "doSignOut", onHeaderClick: "doHeaderClick", flex: 1, components: [
			{className: "margin-medium", components: [
				{kind: "Divider", caption: "Create Assessment", className: "func-caption"},
				{content: "Create a new assessment request", onclick: "createClicked", className: "func-desc italic bold"},
				{kind: "Divider", caption: "View Reports", className: "func-caption"},
				{content: "View your assessment reports", onclick: "reportClicked", className: "func-desc italic bold"},
				{kind: "Divider", caption: "Manage Subscription", className: "func-caption"},
				{content: "Manage your assessment subscription",  onclick: "manageClicked", className: "func-desc italic bold"}
			]}
		]}
	],
	
	createClicked: function() {
		this.parentWnd.switchView("create_type");
	},
	reportClicked: function() {
		this.parentWnd.switchView("report_run");
	},
	manageClicked: function() {
		//TODO: Manage SubScription
		this.showMsg("Not Implemented!");
	},
});